package com.c6906.vdam.dps.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author : TAOHUIQI
 * @Date: 2024/7/27 17:02
 * @Description:终端历史异常信息详情表
 */
@Data
public class TerminalErrorHistoryDetails {

    @ApiModelProperty(value = "UUID主键")
    private String id;

//    @ApiModelProperty(value = "终端历史异常信息统计表ID")
//    private String errorId;


    @ApiModelProperty(value = "终端唯一编号")
    private String terminalSn;

    @ApiModelProperty(value = "异常起始时间")
    private String errorStartTime;

    @ApiModelProperty(value = "异常结束时间")
    private String errorStopTime;

    @ApiModelProperty(value = "异常持续时间，单位：秒")
    private Long errorLastTime;

    @ApiModelProperty(value = "异常类型(1-gnss天线开路,2-gnss天线短路,3-模块掉电,4-离线状态)")
    private int errorType;

    @ApiModelProperty(value = "异常类型名称(1-gnss天线开路,2-gnss天线短路,3-模块掉电,4-离线状态)")
    private String errorTypeName;

    @ApiModelProperty(value = "异常起始纬度")
    private BigDecimal startLat;

    @ApiModelProperty(value = "异常起始经度")
    private BigDecimal startLong;

    @ApiModelProperty(value = "异常退出纬度")
    private BigDecimal stopLat;

    @ApiModelProperty(value = "异常退出经度")
    private BigDecimal stopLong;

    @ApiModelProperty(value = "组织层级编码")
    private String regionCode;

    @ApiModelProperty(value = "组织层级名称")
    private String regionName;

    @ApiModelProperty(value = "车辆编码")
    private String vehiclesCode;

    @ApiModelProperty(value = "车牌")
    private String vehPlateNum;

    @ApiModelProperty(value = "车牌颜色名称")
    private String plateColorName;

    @ApiModelProperty(value = "车辆所有权单位ID")
    private Long ownUnitId;

    @ApiModelProperty(value = "车辆所有权单位名称")
    private String ownUnitName;

    @ApiModelProperty(value = "车辆运营单位ID")
    private Long useUnitId;

    @ApiModelProperty(value = "车辆运营单位名称")
    private String useUnitName;

    @ApiModelProperty(value = "车辆性质id，字典表【车辆性质】")
    private String vehPropId;

    @ApiModelProperty(value = "车辆性质名称")
    private String vehPropName;

    @ApiModelProperty(value = "车辆类型id，字典表【车辆类型】")
    private String vehTypeId;

    @ApiModelProperty(value = "车辆类型名称")
    private String vehTypeName;

    @ApiModelProperty(value = "数据创建时间")
    private String dataCreate;

    @ApiModelProperty(value = "数据更新时间")
    private String dataUpdate;

}
